# -*- coding:utf-8 -*-
# @FileName  :org.py
# @Time      :2020/11/27 15:56
# @Author    :Zhoujirong
# @Desc      :
from common.http_request import Request
from biz.support.urls import ServerUrl

class OrgRequest:
    @classmethod
    def org_create(cls,orgName,orgId,recordStopFlag,corporateFlag,uporg,postCode,
                   linkMan,otherLinkMode,linkMode,address,areaCode,getSystemId,remark,cookie):
        data = {
            'orgName':orgName,
            'orgId':orgId,
            'recordStopFlag':recordStopFlag,
            'corporateFlag':corporateFlag,
            'uporg':uporg,
            'postCode':postCode,
            'linkMan':linkMan,
            'linkMode':linkMode,
            'otherLinkMode':otherLinkMode,
            'address':address,
            'areaCode':areaCode,
            'getSystemId':getSystemId,
            'remark': remark
        }
        req = Request(ServerUrl.org_create_url,data=data,headers=cookie)
        return req.post()




if __name__ == "__main__":
    pass